package com.example.othree.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author zogran
 * @since 2024-11-12
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="WeatherHistoryData对象", description="")
public class WeatherHistoryData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @TableField(value = "date")
    private String Date;

    @ApiModelProperty(value = "站点号")
    private String station;

    @ApiModelProperty(value = "经度")
    private Float lat;

    @ApiModelProperty(value = "纬度")
    private Float lon;

    @ApiModelProperty(value = "海拔")
    private Integer alt;

    @ApiModelProperty(value = "平均气温")
    @TableField("Temp_Avg")
    private Float tempAvg;

    @ApiModelProperty(value = "日最高气温")
    @TableField("Temp_Max")
    private Float tempMax;

    @ApiModelProperty(value = "日最低气温")
    @TableField("Temp_Min")
    private Float tempMin;

    @ApiModelProperty(value = "平均风速")
    @TableField("Wind_Avg")
    private Float windAvg;

    @ApiModelProperty(value = "日降水量")
    @TableField("Precip_Day")
    private Float precipDay;

    @ApiModelProperty(value = "2017年以前的数据海平面气压")
    @TableField("Pressure_Sea_Level")
    private Float pressureSeaLevel;

    @ApiModelProperty(value = "2017年及以后的数据存本站气压")
    @TableField("Pressure_Site")
    private Float pressureSite;

    @ApiModelProperty(value = "日照时数")
    @TableField("Sunshine_Duration")
    private Float sunshineDuration;

    @ApiModelProperty(value = "平均相对湿度")
    @TableField("RH_Avg")
    private Float rhAvg;

    @ApiModelProperty(value = "平均地表气温")
    @TableField("Surface_Temp_Avg")
    private Float surfaceTempAvg;


}
